package frobagroup.entities.frontEnd;

import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Created by Tinsley on 2016/7/21.
 */
@NoArgsConstructor
@Data
@Document(collection = "userProfile")
public class UserProfile {

    @Id
    private String id;
    private String uId;
    private String firstName;
    private String lastName;
    private String location;
    private String photoPic;
    private String overview;
    private String job;
    private String position;
    private int age;
    private String gender;
    private String phoneNum;
    private String email;
    private Date updateTime;
    private Set<String> scIds = new HashSet<>();
    private Set<String> followProductIds = new HashSet<>();

}
